package com.usian.apis.admin;


import com.usian.model.admin.dtos.SensitiveDto;
import com.usian.model.admin.pojos.AdSensitive;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "频道管理接口文档",tags = "AdchannelController",description = "频道管理API")
public interface AdSensitiveControllerApi {
    /**
     * 根据名称分页查询频道列表
     * @param dto
     * @return
     */

    @ApiOperation (value = "查询频道信息",notes = "根据名称分页查询频道列表")
    ResponseResult findByNameAndPage(SensitiveDto sensitiveDto);


    ResponseResult save(AdSensitive adSensitive);


    ResponseResult update(AdSensitive adSensitive);


    ResponseResult del(Integer id);

    ResponseResult deletes(Integer[] ids);

}
